<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
    <!-- <style>
        [v-cloak] {
            display: none;
        }
    </style> -->
</head>
<body>
    <div id="app">
        <h3>{{msg}}</h3>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                msg: '欢迎来到张孟课堂'
            },

            created: function () {
                alert('Vue示例刚创建，页面尚未渲染数据')
            }
        })
    </script>
</body>
</html>